home *** CD-ROM | disk | FTP | other *** search
- //CGVER1.3
- // Pixel Shader 1.1 generated by NVIDIA Cg compiler
- // cgc version 1.1.0003, build date Jul 7 2003 11:55:19
- // command line args: -q -profile ps_1_1 -entry main
- //vendor NVIDIA Corporation
- //version 1.0.02
- //profile ps_1_1
- //program main
- //semantic main.CurrScreenBrightness : TEXUNIT0
- //semantic main.LastScreenBrightness : TEXUNIT1
- //semantic main.Glare
- //var float4 IN.Tex0 : $vin.TEXCOORD0 : TEXCOORD0 : 0 : 1
- //var float4 IN.Tex1 : $vin.TEXCOORD1 : TEXCOORD1 : 0 : 1
- //var sampler2D CurrScreenBrightness : TEXUNIT0 : texunit 0 : 1 : 1
- //var sampler2D LastScreenBrightness : TEXUNIT1 : texunit 1 : 2 : 1
- //var float4 Glare : : c[1] : 3 : 1
- //var float4 Color : $vout.COLOR : COLOR : -1 : 1
- ps.1.1
- def c0, 0.000000, 0.000000, 1.000000, 0.000000
- def c2, 0.000000, 0.000000, 1.000000, -1.000000
- def c3, 0.330000, 0.590000, 0.110000, 0.000000
- tex t0
- tex t1
- mad t0.a, c1.a, c2.a, c2.b
- dp3 t0.rgb, t0, c3
- mul r0.rgb, t0, c1.a
- mad r0.rgb, t0.a, t1, r0
- + mov r0.a, c0.b
- // 6 instructions
- // End of program
-